package com.aphrodite.io.sip.net;

/**
 * TcpServer implements a TCP server wainting for incoming connection.
 */
public final class TcpServer extends Thread {
	/** Costructs a new TcpServer */
	public TcpServer(int port, IpAddress bind_ipaddr, long alive_time, TcpServerListener listener) {}

	/** Costructs a new TcpServer */
	public TcpServer(int port, IpAddress bind_ipaddr, TcpServerListener listener) {}

	/** Costructs a new TcpServer */
	public TcpServer(int port, TcpServerListener listener) {}

	/** Stops running */
	public void halt() {}

	/** Inits the TcpServer */
	private void init(int port, IpAddress bind_ipaddr, long alive_time, TcpServerListener listener) {}

	/** Whether the service is running */
	public boolean isRunning() {
		return false;
	}

	/** Runs the server */
	public void run() {}

	/** Gets a String representation of the Object */
	public String toString() {
		return "tcp:not-supported";
	}

}
